<template>
    <div >
        <div>
            <el-button type="success" icon="el-icon-printer" size="mini" @click="printFilingWorkList">导出</el-button>
            <el-button type="success" icon="el-icon-printer" size="mini" @click="printFilingWorkList">打印</el-button>
            <vue-easy-print v-show="false" ref="easyPrint" :table-show="false" :space-row="true">
                <filingWorkList></filingWorkList>
            </vue-easy-print>

        </div>

        <div class="export">
            <div>
                <p>关键字</p>
                <el-input v-model="input" placeholder="请输入内容"></el-input>
            </div>
            <div>
                <p>类别</p>
                <el-select v-model="value" filterable placeholder="请选择">
                    <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
                    </el-option>
                </el-select>
            </div>
            <div>
                <p>发起日期（起）</p>
                <el-date-picker v-model="value1" type="date" placeholder="选择日期">
                </el-date-picker>
            </div>
            <div>
                <p>发起日期（止）</p>
                <el-date-picker v-model="value1" type="date" placeholder="选择日期">
                </el-date-picker>
            </div>
            <div>
                <p>&nbsp;</p>
                <el-button type="primary">搜索</el-button>
                <el-button type="success">重置</el-button>
            </div>
        </div>
</div>
</template>

<script>
import vueEasyPrint from 'vue-easy-print'
import filingWorkList from "@/views/WorkFlow/MyCopy/components/mysendlist.vue";
export default {
    name: "export",
    data() {
        return {
            input:"",
            value:"",
            value1:"",
            options:[]


        }

    },
    methods: {
        printFilingWorkList() {

            this.$refs.easyPrint.print()
        }

    }
    , components: {
        vueEasyPrint,
        filingWorkList
    }

}
</script>

<style scoped>
.export>div {
    float: left;
    margin-top: 20px;
    padding-right:10px;
}
</style>